package com.service.business.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.business.pay.controller.rep.PayTypeRep;
import com.service.business.product.controller.rep.ProductPayTypeRep;
import com.service.dao.model.ProductPayType;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;


/**
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-27 22:38:48
 */
public interface ProductPayTypeService extends IService<ProductPayType> {

    List<ProductPayTypeRep> listByOrderType(Integer orderType);

    List<PayTypeRep> listByOrderTypeAndPayGroup(Integer orderType, Integer payGroup);

    Map<String, PayTypeRep> list2MapByOrderTypeAndPayGroup(Integer orderType, Integer payGroup);


    List<ProductPayTypeRep> listValidPayTypeByOrderType(BigDecimal totalMoney, Integer memberId, Integer orderType);

}

